package Spring;

/**
 * @Auther: Administrator
 * @Date: 2019/8/9/009 19 56
 * @Description:
 */
public class Car {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Car(String name) {
        this.name = name;
    }

    public Car() {
    }

    public void run() {
        System.out.println(this.name + "is running");
    }
}
